package com.activity.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.activity.model.Activitys;
import com.activity.service.SaveActivityService;

@Controller
public class SaveActivityController {
	@Resource
	private SaveActivityService saveActivityService;
	
	@RequestMapping(value="saveActivity.do",method=RequestMethod.POST)
	@ResponseBody
	public boolean Activitysave(Activitys activitys){
		return saveActivityService.ActivitySave(activitys);
	}
}
